package com.ruoyi.business.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("查询用户所有项目最新成绩接口-入参")
public class FrontLineChartDTO {

    @ApiModelProperty("学生id")
    private Long studentId;

    @NotNull(message = "项目类型不能为空")
    @ApiModelProperty("项目类型")
    private Long projectType;

    @NotEmpty(message = "时间维度不能为空")
    @ApiModelProperty("时间维度：周、月、年（week、month、year）")
    private String type;
}
